﻿using System.Runtime.Serialization;

namespace ifunction.JPush
{
    [DataContract(Name = "PushMessageServiceRequest")]
    [KnownType(typeof(PushMessageRequest))]
    public class PushMessageServiceRequest
    {
        /// <summary>
        /// Gets or sets the message request detail.
        /// </summary>
        /// <value>The message request detail.</value>
        [DataMember]
        public PushMessageRequest MessageRequestDetail
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the access key.
        /// </summary>
        /// <value>The access key.</value>
        [DataMember]
        public string AccessKey { get; set; }

        /// <summary>
        /// Gets or sets the secret token.
        /// </summary>
        /// <value>The secret token.</value>
        [DataMember]
        public string SecretToken { get; set; }
    }
}
